﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_AuctionMarket
    {
        D_AuctionMarket dal = new D_AuctionMarket();
        public static B_AuctionMarket CreateInstance()
        {
            return new B_AuctionMarket();
        }
        public bool CreateOneAuctionMarket(AuctionMarket_Info AuctionMarket_Info)
        {

            return dal.CreateOneAuctionMarket(AuctionMarket_Info);
        }
        public bool EditOneAuctionMarket(AuctionMarket_Info AuctionMarket_Info)
        {

            return dal.EditOneAuctionMarket(AuctionMarket_Info);
        }
        public bool RemoveOneAuctionMarket(int AuctionMarketID)
        {

            return dal.RemoveOneAuctionMarket(AuctionMarketID);
        }
        public DataTable GetAllAuctionMarket()
        {
            
            return dal.GetAllAuctionMarket();
        }
        public AuctionMarket_Info GetOneAuctionMarket(int AuctionMarketID)
        {
            
            return dal.GetOneAuctionMarket(AuctionMarketID);
        }
    }
}
